#coding:utf-8

try:
    with  open("re.txt","r+") as f:

        print(f.readlines())
        f.read()
        f.seek(1)
except IOError as ioe:
    print(ioe)
except TypeError as toe:
    print(toe)
finally:
    print("我执行了")
    f.close()